<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><@block name="title"> </@block></title>
<link rel="stylesheet" type="text/css" href="${request.contextPath}/plugins/bootstrap/css/bootstrap.min.css">
<style type="text/css">
header ul li a {
  color: black;
}

.navbar .navbar-nav>.active>a, .navbar .navbar-nav>.active>a:hover {
  color: white; background-color: #183875;
}

li[data-permissions], .btn[data-permissions], a[data-permissions], div[data-permissions] {
  display: none;
}

.imgPreview {
  max-width: 120px; max-height: 120px;
}
</style>
<@block name="styles"> </@block>
</head>
<body>
    <div class="container">
        <header class="bg-info">
            <nav class="navbar navbar-default" role="navigation">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse"
                            data-target="#example-navbar-collapse">
                            <span class="sr-only">切换导航</span> <span class="icon-bar"></span> <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">第八届世界智能大会</a>
                    </div>
                    <div class="collapse navbar-collapse" id="example-navbar-collapse">
                        <ul class="nav navbar-nav" id="headerMenu">
                            <li><a href="${request.contextPath}/bg/player/list.html">
                                    <span>用户管理</span>
                                </a></li>
                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <span>系统设置</span><b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li data-permissions="角色管理_VIEW"><a href="${request.contextPath}/bg/role/list">
                                            <span>角色管理</span>
                                        </a></li>
                                    <li data-permissions="人员管理_VIEW"><a
                                            href="${request.contextPath}/bg/manager/list">
                                            <span>人员管理</span>
                                        </a></li>
                                </ul></li>
                            <li><a href="${request.contextPath}/index.html" target="_blank">去前台</a></li>
                            <li><a href="${request.contextPath}/logout">退出</a></li>
                        </ul>
                    </div>
                </div>
            </nav>
        </header>
        <@block name="content"> </@block>
        <div>
            <div class="modal fade" id="alert" tabindex="-1" role="dialog" aria-hidden="true" style="z-index: 9999;">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header"></div>
                        <div class="modal-body js-alert-content alert alert-danger"></div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-dark" data-dismiss="modal">确定</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="hidden" id="permissions"></div>
        </div>
    </div>
    <script type="text/javascript" src="${request.contextPath}/plugins/jquery/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="${request.contextPath}/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/Base64/1.1.0/base64.min.js"
        type="application/javascript"></script>
    <script type="text/javascript" src="${request.contextPath}/js/common.js"></script>
    <script type="text/javascript">
					var BASE_PATH = '${request.contextPath}';
					var J20 = '${Session["J20"]}';
				</script>
    <@block name="scripts"> </@block>
</body>
</html>